/*
 * @Author: shanghongyun 2879455630@qq.com
 * @Date: 2025-06-27 09:56:23
 * @LastEditors: shanghongyun 2879455630@qq.com
 * @LastEditTime: 2025-07-01 09:34:20
 * @FilePath: \A06\User\main.c
 * @Description: 
 */

/* Files include */
#include "main.h"
#include "dev.h"
#include "task.h"

/**
  * @brief  The program entry function.
  * @retval int
  */
int main(void)
{
	__disable_irq();
	dev_init();
	__enable_irq();
	/* Infinite loop */
	ADC_StartConversion(ADC0);
	while (1)
	{
		/*任务调度*/
		Task_scheduler();
	}
}



/**
  * @}
  */

/************************ (C) COPYRIGHT DP *****END OF FILE ***************************/
